package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 入党积极分子对象 ic_party_applicants
 * 
 * @author ruoyi
 * @date 2024-07-10
 */
public class IcPartyApplicants extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 入党积极分子ID */
    private Long applicantId;

    /** 姓名 */
    @Excel(name = "姓名")
    private String applicantName;

    /** 身份证号 */
    @Excel(name = "身份证号")
    private String idNumber;

    /** 性别 */
    @Excel(name = "性别")
    private String gender;

    /** 出生日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "出生日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date birthDate;

    /** 申请入党日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "申请入党日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date applicationDate;

    /** 入团时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "入团时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date joinYouthLeagueDate;

    /** 所属组织ID */
    @Excel(name = "所属组织ID")
    private Long orgId;

    /** 文化程度 */
    @Excel(name = "文化程度")
    private String education;

    /** 家庭住址 */
    @Excel(name = "家庭住址")
    private String homeAddress;

    /** 民族 */
    @Excel(name = "民族")
    private String ethnicity;

    /** 籍贯 */
    @Excel(name = "籍贯")
    private String nativePlace;

    /** 状态 */
    @Excel(name = "状态")
    private String status;

    /** 个人简介 */
    @Excel(name = "个人简介")
    private String resume;

    public void setApplicantId(Long applicantId) 
    {
        this.applicantId = applicantId;
    }

    public Long getApplicantId() 
    {
        return applicantId;
    }

    public void setApplicantName(String applicantName) 
    {
        this.applicantName = applicantName;
    }

    public String getApplicantName() 
    {
        return applicantName;
    }

    public void setIdNumber(String idNumber) 
    {
        this.idNumber = idNumber;
    }

    public String getIdNumber() 
    {
        return idNumber;
    }

    public void setGender(String gender) 
    {
        this.gender = gender;
    }

    public String getGender() 
    {
        return gender;
    }

    public void setBirthDate(Date birthDate) 
    {
        this.birthDate = birthDate;
    }

    public Date getBirthDate() 
    {
        return birthDate;
    }

    public void setApplicationDate(Date applicationDate) 
    {
        this.applicationDate = applicationDate;
    }

    public Date getApplicationDate() 
    {
        return applicationDate;
    }

    public void setJoinYouthLeagueDate(Date joinYouthLeagueDate) 
    {
        this.joinYouthLeagueDate = joinYouthLeagueDate;
    }

    public Date getJoinYouthLeagueDate() 
    {
        return joinYouthLeagueDate;
    }

    public void setOrgId(Long orgId) 
    {
        this.orgId = orgId;
    }

    public Long getOrgId() 
    {
        return orgId;
    }

    public void setEducation(String education) 
    {
        this.education = education;
    }

    public String getEducation() 
    {
        return education;
    }

    public void setHomeAddress(String homeAddress) 
    {
        this.homeAddress = homeAddress;
    }

    public String getHomeAddress() 
    {
        return homeAddress;
    }

    public void setEthnicity(String ethnicity) 
    {
        this.ethnicity = ethnicity;
    }

    public String getEthnicity() 
    {
        return ethnicity;
    }

    public void setNativePlace(String nativePlace) 
    {
        this.nativePlace = nativePlace;
    }

    public String getNativePlace() 
    {
        return nativePlace;
    }

    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }

    public void setResume(String resume) 
    {
        this.resume = resume;
    }

    public String getResume() 
    {
        return resume;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("applicantId", getApplicantId())
            .append("applicantName", getApplicantName())
            .append("idNumber", getIdNumber())
            .append("gender", getGender())
            .append("birthDate", getBirthDate())
            .append("applicationDate", getApplicationDate())
            .append("joinYouthLeagueDate", getJoinYouthLeagueDate())
            .append("orgId", getOrgId())
            .append("education", getEducation())
            .append("homeAddress", getHomeAddress())
            .append("ethnicity", getEthnicity())
            .append("nativePlace", getNativePlace())
            .append("status", getStatus())
            .append("resume", getResume())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
